package com.mobile.challenge.ui.mine;

import android.app.Application;

import androidx.annotation.NonNull;
import androidx.lifecycle.LiveData;
import androidx.lifecycle.MutableLiveData;

import com.mobile.frame.mvvmframe.base.BaseModel;
import com.mobile.frame.mvvmframe.base.DataViewModel;

import javax.inject.Inject;

public class MineViewModel extends DataViewModel {

    private MutableLiveData<String> mText;

    @Inject
    public MineViewModel(@NonNull Application application, BaseModel model) {
        super(application, model);
        mText = new MutableLiveData<>();
        mText.setValue("This is mine fragment");
    }

    public LiveData<String> getText() {
        return mText;
    }
}